﻿// MIT License (MIT)
// 
// Copyright (c) 2014 K Ercan Turkarslan
// 
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// 
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
// 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
// 

using System.Runtime.Serialization;

namespace Mios.MiosConnection.JSONStructures
{
    [DataContract]
    public class JsonUi7ControllerDetail
    {
        [DataMember(Name = "PK_Device")]
        public string PkDevice { get; set; }

        [DataMember(Name = "MacAddress")]
        public string MacAddress { get; set; }

        [DataMember(Name = "Using_2G")]
        public int Using_2G { get; set; }

        [DataMember(Name = "ExternalIP")]
        public string ExternalIp { get; set; }

        [DataMember(Name = "AccessiblePort")]
        public string AccessiblePort { get; set; }

        [DataMember(Name = "InternalIP")]
        public string InternalIp { get; set; }

        [DataMember(Name = "AliveDate")]
        public string AliveDate { get; set; }

        [DataMember(Name = "FirmwareVersion")]
        public string FirmwareVersion { get; set; }

        [DataMember(Name = "PriorFirmwareVersion")]
        public string PriorFirmwareVersion { get; set; }

        [DataMember(Name = "UpgradeDate")]
        public string UpgradeDate { get; set; }

        [DataMember(Name = "Uptime")]
        public string Uptime { get; set; }

        [DataMember(Name = "Server_Device")]
        public string DeviceServer { get; set; }

        [DataMember(Name = "Server_Event")]
        public string EventServer { get; set; }

        [DataMember(Name = "Server_Relay")]
        public string RelayServer { get; set; }

        [DataMember(Name = "Server_Support")]
        public string SupportServer { get; set; }

        [DataMember(Name = "Server_Storage")]
        public string StorageServer { get; set; }

        [DataMember(Name = "WifiSsid")]
        public string WifiSsid { get; set; }

        [DataMember(Name = "Timezone")]
        public string Timezone { get; set; }

        [DataMember(Name = "LocalPort")]
        public string LocalPort { get; set; }

        [DataMember(Name = "ZWaveLocale")]
        public string ZWaveLocale { get; set; }

        [DataMember(Name = "ZWaveVersion")]
        public string ZWaveVersion { get; set; }

        [DataMember(Name = "FK_Branding")]
        public string FkBranding { get; set; }

        [DataMember(Name = "Platform")]
        public string Platform { get; set; }

        [DataMember(Name = "UILanguage")]
        public string UiLanguage { get; set; }

        [DataMember(Name = "UISkin")]
        public string UiSkin { get; set; }

        [DataMember(Name = "HasWifi")]
        public string HasWifi { get; set; }

        [DataMember(Name = "HasAlarmPanel")]
        public string HasAlarmPanel { get; set; }

        [DataMember(Name = "UI")]
        public string Ui { get; set; }

        [DataMember(Name = "EngineStatus")]
        public string EngineStatus { get; set; }

        [DataMember(Name = "AccessPermissions")]
        public string AccessPermissions { get; set; }
    }
}
